//注册组件，全局使用
import Vue from "vue";

import {
  Tabbar,
  TabbarItem,
  Button,
  Icon,
  Swipe,
  SwipeItem,
  Lazyload,
  Grid,
  GridItem,
  Image as VanImage,
  Divider,
  Loading,
  List,
  PullRefresh,
  Cell,
  NavBar,
  Search,
  Tag,
  Field,
  RadioGroup,
  Radio,
  Toast,
  SubmitBar,
  Badge,
  ShareSheet,
  Popup,
  CellGroup,
} from "vant";

Vue.use(Button)
  .use(TabbarItem)
  .use(Tabbar)
  .use(Icon)
  .use(Swipe)
  .use(SwipeItem)
  .use(Lazyload)
  .use(Grid)
  .use(GridItem)
  .use(VanImage)
  .use(Divider)
  .use(Loading)
  .use(List)
  .use(PullRefresh)
  .use(Cell)
  .use(NavBar)
  .use(Search)
  .use(Tag)
  .use(Field)
  .use(RadioGroup)
  .use(Radio)
  .use(Toast)
  .use(SubmitBar)
  .use(Badge)
  .use(ShareSheet)
  .use(Popup)
  .use(CellGroup);
